
import { startAi } from './ai/ai'
import { startPost } from './publisher/post'
import { startSpider } from './spider/spider'

const Puppeteer = {}

Puppeteer.spider = async (row, page) => {
    return await startSpider(row, page)
}

Puppeteer.startAi = async (article, page) => {
    return startAi(article, page)
}

Puppeteer.startPost = async (article, page) => {
    return await startPost(article, page)
}

export { Puppeteer }